package dev.ece.util.tools.transformations;

import dev.ece.util.lib.Matrix4f;
import dev.ece.util.lib.Vector4f;

public class Quaternion implements Transformation {

	private Vector4f quaternion;
	
	public Quaternion() {
		this(new Vector4f());
	}
	
	public Quaternion(Vector4f quaternion) {
		this.quaternion = quaternion;
	}
	
	@Override
	public void transform(Matrix4f matrix) {
		matrix.rotateQuaternion(quaternion);
	}

	public Vector4f getQuaternion() {
		return quaternion;
	}

}
